package com.ws.ssmzongjie3.service.impl;

import com.ws.ssmzongjie3.bean.Acl_User_Role;
import com.ws.ssmzongjie3.mapper.Acl_User_RoleMapper;
import com.ws.ssmzongjie3.service.Acl_User_RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class Acl_User_RoleServiceImpl implements Acl_User_RoleService {
    @Autowired
    private Acl_User_RoleMapper acl_User_RoleMapper;
    @Override
    public int insertAcl_User_Role(Acl_User_Role acl_User_Role) {

        return acl_User_RoleMapper.insertAcl_User_Role(acl_User_Role);
    }

    @Override
    public int deleteAcl_User_Role(Acl_User_Role acl_User_Role) {
        return acl_User_RoleMapper.deleteAcl_User_Role(acl_User_Role);
    }

    @Override
    public Acl_User_Role getAcl_User_RoleById(Acl_User_Role acl_User_Role) {
        return acl_User_RoleMapper.getAcl_User_RoleById(acl_User_Role);
    }

    @Override
    public void updateAcl_User_Role(Acl_User_Role acl_User_Role) {
        acl_User_RoleMapper.updateAcl_User_Role(acl_User_Role);
    }

    @Override
    public List<Integer> listRole_id(Acl_User_Role acl_User_Role) {
        return acl_User_RoleMapper.listRole_id(acl_User_Role);
    }

    @Override
    public List<Acl_User_Role> listAcl_User_Role(Acl_User_Role acl_User_Role) {
        return acl_User_RoleMapper.listAcl_User_Role(acl_User_Role);
    }
}
